From: Aaron Schulz Date: Thu, 9 Jul 2015 16:07:52 +0000 (-0700) Subject: jobqueue: Enable job retries by default in $wgJobTypeConf X-Git-Tag: 1.31.0-rc.0~10830 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=9e4652d3b5ec23fc9632fc386cecd5c7c87bf8cd;p=lhc%2Fweb%2Fwiklou.git jobqueue: Enable job retries by default in $wgJobTypeConf * This setting works fine for WMF, including various extensions. It seems a better default than just pruning out failed jobs. Change-Id: I635880a49f50544433559ef2cbfb218783b32534 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 813d11df10..4170c99a56 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -6736,7 +6736,7 @@ $wgJobSerialCommitThreshold = false; * These settings should be global to all wikis. */ $wgJobTypeConf = array( - 'default' => array( 'class' => 'JobQueueDB', 'order' => 'random' ), + 'default' => array( 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ), ); /**